Next | Prev | Up | Top | Contents | Index

Initialization Entry Points

A STREAMS driver or module can define an entry point pfxinit(), or an entry point pfxstart(), or both. These entry points will be called during boot if the driver or module is included in the kernel, or when the driver or module is loaded if it is loadable. The operation of these entry points is the same as for device drivers (see "Initialization Entry Points").

Many STREAMS drivers perform all initialization at open time, and have no pfxinit() or pfxstart() entry points. Many STREAMS modules perform initialization when they receive the I_PUSH ioctl message.


Next | Prev | Up | Top | Contents | Index